package com.yunpeng.aidevice.common.vo;

import java.io.Serializable;
import java.util.List;

/**
 * FunctionNodeDetailVO 功能节点详细数据视图
 *
 * @author : Moore(hemw)
 * @date : 2020-04-15
 */
public class FunctionNodeDetailVO implements Serializable {

    /**
     * 功能节点名称
     */
    private String name;

    /**
     * 功能节点代码
     */
    private String code;

    /**
     * 功能节点url
     */
    private String url;

    /**
     * 是否文件夹
     */
    private Boolean folder;

    /**
     * 父节点名称
     */
    private String parentName;

    /**
     * 父节点代码
     */
    private String parentCode;

    /**
     * 可以操作此功能的权限
     */
    private List<FunctionNodePermissionVO> operatePermissions;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Boolean getFolder() {
        return folder;
    }

    public void setFolder(Boolean folder) {
        this.folder = folder;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public List<FunctionNodePermissionVO> getOperatePermissions() {
        return operatePermissions;
    }

    public void setOperatePermissions(List<FunctionNodePermissionVO> operatePermissions) {
        this.operatePermissions = operatePermissions;
    }

    @Override
    public String toString() {
        return "FunctionNodeDetailVO{" +
                "name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", url='" + url + '\'' +
                ", folder=" + folder +
                ", parentName='" + parentName + '\'' +
                ", parentCode='" + parentCode + '\'' +
                ", operatePermissions=" + operatePermissions +
                '}';
    }
}
